<template>
  <!-- 收益统计页面 -->
  <el-row :gutter="0" class="pandectBox Incomestatistics">
    <div class="title">
      <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal">
        <el-menu-item index="1">收益统计</el-menu-item>
      </el-menu>
    </div>
    <div class="content">
      <div class="earnings clearfix">
        <div class="box clearfix">
          <div class="box-img">
            <img src="../../../assets/config_images/earnings.png" alt />
          </div>
          <div class="box-money">
            <div class="box-money-top">
              <span>21.60</span>
            </div>
            <div class="box-money-btm">
              <span>总收益</span>
            </div>
          </div>
          <div class="box-month">
            <div>
              <span>本月:0.00</span>
            </div>
            <div>
              <span>本月:0.00</span>
            </div>
          </div>
        </div>
        <div class="box clearfix">
          <div class="box-img" style>
            <img src="../../../assets/config_images/fina-flow.png" alt />
          </div>
          <div class="box-money">
            <div class="box-money-top">
              <span>21.60</span>
            </div>
            <div class="box-money-btm">
              <span>总收益</span>
            </div>
          </div>
          <div class="box-month">
            <div>
              <span>本月:0.00</span>
            </div>
            <div>
              <span>本月:0.00</span>
            </div>
          </div>
        </div>
      </div>
      <div class="withdraw clearfix">
        <div class="ketixian">
          <span>
            可提现金额：
            <span style="color:#397DFF">25.80</span>
          </span>
        </div>
        <div class="btn_group">
          <el-button type="primary">提现</el-button>
          <el-button type="primary">提现记录</el-button>
        </div>
      </div>
      <!-- 列表 -->
      <div class="contList">
        <el-table :data="tableData" style="width: 100%">
          <el-table-column align="center" prop="belong" label="创建时间" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="username" label="提现金额（元）" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="phone" label="手续费（元）" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="emily" label="实际金额（元）" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="registerdate" label="收款账号" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="accounttype" label="状态" style="width:14.285%"></el-table-column>
          <el-table-column align="center" prop="accounttype" label="状态说明" style="width:14.285%"></el-table-column>
        </el-table>
      </div>
    </div>
  </el-row>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "1",
      tableData: [
        {
          belong: "初级套餐",
          registerdate: "2016-05-02",
          username: "王小虎",
          emily: "1042275710@qq.com",
          accounttype: "普通客户",
          phone: "18365760643"
        },
        {
          belong: "初级套餐",
          registerdate: "2016-05-04",
          username: "王小虎",
          emily: "1042275710@qq.com",
          accounttype: "普通客户",
          phone: "18365760643"
        }
      ]
    };
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
// placeholder的颜色

.clearfix:after {
  display: block;
  clear: both;
  contain: "";
}
.Incomestatistics {
  position: absolute;
  bottom: 0px;
  top: 85px;
  left: 192px;
  right: 125px;
  min-height: 720px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  .title {
    margin-bottom: 18px;
    .el-menu-item {
      height: 48px;
      line-height: 48px;
      padding: 0;
      margin-left: 20px;
    }
  }
  .content {
    padding: 0 200px 0 50px;
    .earnings {
      .box {
        padding: 17px 0;
        width: 400px;
        height: 100px;
        background: rgba(255, 255, 255, 1);
        border-radius: 3px;
        border: 1px solid rgba(235, 238, 245, 1);
        margin-right: 40px;
        float: left;
        .box-img {
          width: 110px;
          height: 100%;
          padding: 6px 0;
          text-align: center;
          float: left;
        }
        .box-money {
          float: left;
          width: 174px;
          height: 100%;
          border-right: 1px solid #ebeef5;
          .box-money-top {
            height: 34px;
            line-height: 34px;
            font-size: 26px;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
          }
          .box-money-btm {
            height: 30px;
            line-height: 2.5;
            font-size: 12px;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
          }
        }
        .box-month {
          float: left;
          width: 114px;
          height: 100%;
          div {
            height: 50%;
            line-height: 2.5;
            text-align: center;
            font-size: 12px;
            font-family: SourceHanSansCN-Regular;
            font-weight: 400;
            color: rgba(51, 51, 51, 1);
          }
        }
      }
    }
    .withdraw {
      border-bottom: 1px solid #ebeef5;
      padding: 16px 0;
      margin-bottom: 20px;
      .ketixian {
        float: left;
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        font-family: SourceHanSansCN-Regular;
        font-weight: 400;
        margin-right: 28px;
      }
      .el-button {
        padding-top: 6px;
        padding-bottom: 6px;
      }
    }

    .contList {
      min-height: 490px;
      background: rgba(255, 255, 255, 1);
      border: 1px solid rgba(235, 238, 245, 1);
    }
  }
}
</style>

<style lang="scss">
.Incomestatistics {
  .contList .el-table::before {
    background: none;
  }
  .el-table__body {
    .is-center {
      border: 0;
    }
  }
}
</style>
